package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 企业用户
 *
 * @TableName enterprise_user
 */
@TableName(value = "enterprise")
@Data
public class EnterpriseVO implements Serializable {

    private static final long serialVersionUID = 9033350049452139073L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    private String enterpriseName;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 企业类型  1公司 2酒店
     */
    @Schema(description = "企业类型  1公司 2酒店")
    private Integer type;

    /**
     * openId
     */
    @Schema(description = "openId")
    private String openId;

    /**
     * unionId
     */
    @Schema(description = "unionId")
    private String unionId;

}